package indi.entity;

public class Student {
	//数据库自动生成ID
	//姓名
	private String name;
	//系别
	private String major;
	//学生身份：本科，研究生等
	private  String role;
	// 关联的借阅证
	private BorrowBookLiscence currentLiscence;
	
	
	public Student(String name, String major, String role) {
		this.name = name;
		this.major = major;
		this.role = role;
	}

	public String getName() {
		return name;
	}

	public String getMajor() {
		return major;
	}

	public String getRole() {
		return role;
	}

	public void setBorrowBookLiscence(BorrowBookLiscence borrowBookLiscence) {
		// TODO Auto-generated method stub
		currentLiscence = borrowBookLiscence;
	}
}
